package com.lemon.system.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 城市表持久层对象，对应数据库
 *
 * @author 李猛
 * @since 2024-02-11
 */
@Getter
@Setter
@ToString
@TableName("sys_city")
public class CityPO implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键ID
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    //城市名称
    private String name;

    //父ID
    private Integer parentId;


}
